﻿namespace eg_024_while循环
{
    internal class Program
    {
        static void Main(string[] args)
        {
            int i = 1;
            while (true)
            {
                Console.Write(i);
                if (i % 5 == 0) Console.WriteLine();
                else Console.Write("\t");
                if (++i > 20) break;
            }
        }
    }
}